package adkr

import "ebbflow/pkg/crypto"

var (
    blsThresholdPK *crypto.G1
    blsPKs         []crypto.G1
    blsMySK        *crypto.ZR
)

func RegisterThresholdBLS(thPK *crypto.G1, pks []crypto.G1, mySK *crypto.ZR) {
    blsThresholdPK = thPK
    blsPKs = pks
    blsMySK = mySK
}

func GetThresholdBLSPKs() ([]crypto.G1, *crypto.G1) { return blsPKs, blsThresholdPK }
func GetMyBLSSK() *crypto.ZR { return blsMySK }






